package com.hflyeer.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hflyeer.entity.Grade;
import com.hflyeer.mapper.GradeMapper;
import com.hflyeer.service.GradeService;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 班级 服务实现类
 * </p>
 *
 * @author hflyeer
 * @since 2021-06-01
 */
@Service
public class GradeServiceImpl extends ServiceImpl<GradeMapper, Grade> implements GradeService {

    @Override
    public List<Map<String, Object>> queryForGrades() {
        return this.baseMapper.selectMaps(null);
    }
}
